F77 = gfortran
all: thfit tmdia
thfit: thfit_.f thfit_.o 
	$(F77) -O2 -o ../bin/thfit_ thfit_.o -llapack
tmdia: tmdia_.f tmdia_.o
	$(F77) -O2 -o ../bin/tmdia_ tmdia_.o -llapack
clean:
	rm *.o
